﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using DAL;
using Common;

namespace UI.system.page.storage
{
    public partial class huanpianadd : System.Web.UI.Page
    {
        public JiepianInfo jpinfo = new JiepianInfo();
        public HuanpianInfo hpinfo = new HuanpianInfo(); 
        public string[] imgs;
        public string Imgs = string.Empty;
        public List<PositionInfo> positionlist = new List<PositionInfo>();
        public string aname;
        protected void Page_Load(object sender, EventArgs e)
        {
            positionlist = PositionDAL.FindAll();
            Imgs = "0";
            string id = JobRequest.GetRequestString("id");
            string ucode = JobRequest.GetRequestString("ucode");
            
            jpinfo = JiepianDAL.FindOneByUCodeAndNumber(ucode,id);
           
            if (B.MyAdmin != null)
            {
                aname = B.MyAdmin.RealName;
            }
        }
    }
}